/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.purpose.domain;

import java.util.List;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

public class SafetyOrg extends BaseEntity{
	/**
	    * 公司code
	    */
	    private String corpCode;

	    /**
	    * 机构名称
	    */
	    private String name;

	    /**
	    * 机构code
	    */
	    private String code;

	    /**
	    * 父id
	    */
	    private String pid;

	    /**
	    * 子节点数量
	    */
	    private Integer subnumber;
	    //领导人名称
	    private String leaderName;
	    //领导人角色
	    private String leaderRole;

	@ApiModelProperty(name = "ranking",value = "排序值",required = true)
	private Integer ranking;

	    List<SafetyOrg> childList;

		public String getCorpCode() {
			return corpCode;
		}

		public void setCorpCode(String corpCode) {
			this.corpCode = corpCode;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getPid() {
			return pid;
		}

		public void setPid(String pid) {
			this.pid = pid;
		}

		public Integer getSubnumber() {
			return subnumber;
		}

		public void setSubnumber(Integer subnumber) {
			this.subnumber = subnumber;
		}

		public String getLeaderName() {
			return leaderName;
		}

		public void setLeaderName(String leaderName) {
			this.leaderName = leaderName;
		}

		public String getLeaderRole() {
			return leaderRole;
		}

		public void setLeaderRole(String leaderRole) {
			this.leaderRole = leaderRole;
		}

	public Integer getRanking() {
		return ranking;
	}

	public void setRanking(Integer rank) {
		this.ranking = rank;
	}

	public List<SafetyOrg> getChildList() {
			return childList;
		}

		public void setChildList(List<SafetyOrg> childList) {
			this.childList = childList;
		}

}
